package com.njwb.day03;

public class Test20 {
    public static void main(String[] args) {
        //求和
        int[][] arr={{1,2,3,4,5},{11,12},{22,33,44},{1}};
        int sum=0;
        for (int i=0;i< arr.length;i++){
            for (int j=0;j<arr[i].length;j++){
                  sum+=arr[i][j];
            }
        }
        System.out.println(sum);
    }
}
